home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
23
/
6
/
DISK2368.ZIP
/
ANSWERS
/
CH07_2A.HPP
< prev
next >
Wrap
Text File
|
1990-07-20
|
373b
|
22 lines
// Chapter 7 - Programming exercise 2
#ifndef CARHPP
#define CARHPP
#include "vehicle.hpp"
class car : public vehicle {
int passenger_load;
public:
void initialize(int in_wheels, float in_weight, int people = 4);
int passengers(void);
};
#endif
// Result of execution
//
// (this file cannot be executed)